package com.vhall.component.entity.chat.vo;


import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @author xianglei
 * @date 2021/5/10 15:52
 */

@Data
public class ChatUploadReqVo implements Serializable {
    private static final long serialVersionUID = -7322657307359600322L;

    @ParamName("vss_token")
    private String vssToken;

    @ParamName("room_id")
    @Pattern(regexp = "[0-9a-zA-Z_]{1,32}", message = "参数异常")
    private String roomId;

    private MultipartFile file;
}
